NotEmptyList
@Serializable(with = NotEmptyListSerializer::class)
@Since(version = KotoolsTypesVersion.V4_0_0)
Represents a list that has at least one element of type E.
You can use the notEmptyListOf or the toNotEmptyList functions for building this type.
Types
Link copied to clipboard
object Companion
Contains static declarations for the NotEmptyList type.
Functions
Properties
Extensions
Link copied to clipboard
Returns the size of this collection, or returns ZeroInt if this collection is null
.